package com.hnnu.shoppingtoghter.demo.mapper;

import com.hnnu.shoppingtoghter.demo.entity.Message;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description:
 * @Author: liu_cheng_xi
 * @CreateTime： 2022/7/7 1:20
 */
@Mapper
public interface MessageMapper {

    /**
     * @Description: 通过数据库来查询留言信息
     * @Author: liu_cheng_xi
     * @CreateTime: 2022/7/7 1:36
     * @param: null
     * @return: null
     **/
     List<Message> selectListByMessage(Message message);
     

    /**
     * @Description: TODO
     * @Author: liu_cheng_xi 
     * @CreateTime: 2022/7/8 14:01 
 * @param: message
 * @return: int
     **/
    
    int insertMessage(Message message);
}
